# -*- coding: utf-8 -*-
# @project: huawang-api20230914
# @file： __init__.py.py
# @Time：2023/7/17 14:08
# @Author：liaogan
#
# dict1={'username_input': ['xpath', '//*[@placeholder="账号"]'], 'password_input': ['xpath', '//*[@placeholder="密码"]'], 'VerificationCode_input': ['xpath', '//*[@placeholder="验证码"]'], 'login_button': ['css selector', '[class="el-button el-button--primary el-button--medium"]']}
# print(type(dict1))
#
# for one in dict1.items():
#     print(one)
#
#
# for element_name, locator in dict1.items():
#
#     # print(element_name,locator)
#     setattr(element_name, locator)